package com.jsam.dtos;

import java.io.Serializable;

import java.sql.Date;

import java.util.List;
/*
BOOKMARK_INDEX	NUMBER
URL	VARCHAR2(1024 BYTE)
TITLE	VARCHAR2(200 BYTE)
MEMO	VARCHAR2(4000 BYTE)
BOOKMARK_DATE	DATE
USER_INDEX	NUMBER
*/
public class BookmarkDto implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -7798437542688154459L;
	private int bookmarkIndex;
	private String url;
	private String title;
	private String memo;
	private Date bookmarkDate;
	private int userIndex;
	private List<TagDto> tagList;
	
	public BookmarkDto() {
	}
	
		
	
	public int getBookmarkIndex() {
		return bookmarkIndex;
	}



	public void setBookmarkIndex(int bookmarkIndex) {
		this.bookmarkIndex = bookmarkIndex;
	}



	public String getUrl() {
		return url;
	}



	public void setUrl(String url) {
		this.url = url;
	}



	public String getTitle() {
		return title;
	}



	public void setTitle(String title) {
		this.title = title;
	}



	public String getMemo() {
		return memo;
	}



	public void setMemo(String memo) {
		this.memo = memo;
	}



	public Date getBookmarkDate() {
		return bookmarkDate;
	}



	public void setBookmarkDate(Date bookmarkDate) {
		this.bookmarkDate = bookmarkDate;
	}



	public int getUserIndex() {
		return userIndex;
	}



	public void setUserIndex(int userIndex) {
		this.userIndex = userIndex;
	}



	public List<TagDto> getTagList() {
		return tagList;
	}



	public void setTagList(List<TagDto> tagList) {
		this.tagList = tagList;
	}



	@Override
	public String toString() {
		return "["+bookmarkIndex+","+url+","+title+","+memo+","+bookmarkDate+","+userIndex+","+tagList+"]";
	}
	
}
